package com.twu.library.model;

/**
 * Created by roselmamendes on 9/20/14.
 */
public class Book {

    private String title;
    private String author;
    private String year;
    private boolean checkout;
    private boolean available;
    private String libraryNumber;

    public Book(String title,String author,String year,boolean checkout,boolean available){
        this.title = title;
        this.author = author;
        this.year = year;
        this.checkout = checkout;
        this.available = available;
    }

    public boolean isAvailable() {
        return available;
    }

    public void setAvailable(boolean available) {
        this.available = available;
    }

    public boolean isCheckout() {
        return checkout;
    }

    public void setCheckout(boolean checkout) {
        this.checkout = checkout;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }

    public String getLibraryNumber() {
        return libraryNumber;
    }

    public void setLibraryNumber(String libraryNumber) {
        this.libraryNumber = libraryNumber;
    }
}
